https://retellai.com/?utm_source=discord&utm_medium=seo logo
" - " for pausing is not working
# ❓・bug-report
c
How do I get the bot to pause when speaking? I've tried the instructions of adding " - " (with spaces) and it doesn't work with any TTS provider (11labs, Cartesia, OpenAi) so far. Using Grace voice on each provider. The voice makes guttural sounds or makes stuff up when hitting these dashes. Transcript: Agent: 1 2 3 4 1 - 2 - 3 - - - - 4 1 - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - 4 Documentation here: https://docs.retellai.com/build/add-pause https://cdn.discordapp.com/attachments/1407867520492245023/1407867520828051486/recording_3.wav?ex=68a7aa4d&is=68a658cd&hm=3682ed80409859e26fe9f88ee9e40f7ac7836fd532385ab9a118ee1ea18971bb&
s
Hi @chris.modernloop i understand your issue please using proper SSML markup for pause like " // 1 second pause // 500 millisecond pause // 2 second pause" and by using Natural Language Pauses Instead of artificial markers use conversational phrases like Let me think about that for a moment ,Just a second, Hold on you should define these things in the prompt so llm could understand
m
@chris.modernloop @shahretell I tried the but it didn't work. I got this one to work, though: sales at customer s w dot com So it says "sales@customer (pause) S (pause) W dot com" Hope this SSML helps someone
s
Hi @mrearthbound sounds good one of workaround works you could make it more better by adding puncuation
s
hi @mrearthbound, were you using Retell web based version in which wraping break time in speak tag worked or sdk version. I used web based interface to build the voice agent and trying to figure out how to add pauses. the dash approach is causing weird noises and directly puting break tag or wrapping inside speak tag, it saying whole tag.
m
I used the web version. The weird noises may be due to either a specific LLM model and/or the ElevenLabs voices you’re using. I believe I was using either GPT 4.o or 4.1 and Cimo from ElevenLabs, in English or maybe Multilingual.
s
I am using gpt 4.1 fast version and elevan labs chloe
m
Sounds like that might work. Try either English or Multilingual on the language. I remember I had to Tweek the specific prompt and XML tags quite a while till I got it working good. Maybe even the milliseconds. Try values between 300 - 900ms? Also if you try to look for other prompts people here have tried, that could also give you clues on how to make it work. Use keyword searches for SSML, “break time” and similar to see if it helps.
s
I am giving values directly 3s, i want pause around 3-4 sec I'll search for break time, ssml